home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
HENSA
/
UTILITIES
/
DRAGME.ARC
/
ReadMe
< prev
Wrap
Text File
|
1991-08-25
|
1KB
|
33 lines
Dragme 1.0 © G.C.Wraith (25/08/95)
The applications !Index and !SetCSD both use Dragme.
Dragme puts an icon on the iconbar. When this icon is
dragged into a directory, an action file (called !RunImage
in these examples) is called with the directory's
pathname as a parameter. In !SetCSD !RunImage is an Obey file.
In !Index !RunImage is a Basic file.
Dragme requires:
# a template file called Templates with a window called info.
# an action file - !RunImage
# a sprite to put on the icon bar
# a sprite to use for dragging
# a name for the task display
# a title for the iconbar menu
These requirements can be edited, using Zap or Edit, for
example. Look for the -> or <- signs to indicate where they
occur. Remember that the taskname, menu title, and sprite
names must be padded out with ASCII null codes to make up
precisely 12 characters. Similarly, the edited template and
action file names should be padded with blank spaces so as to
take up exactly the same space as the previous names. Yes, it is
a lazy way out.
I hope you find Dragme useful for your own programs.
-- G.C.Wraith gavinw@sussex.ac.uk